package com.karlis.user.bo.impl;

import com.karlis.user.bo.UserBo;
import com.karlis.user.dao.UserDao;
import com.karlis.user.model.User;
 
public class UserBoImpl implements UserBo{
 
	UserDao userDao;
 
	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}
 
	public void save(User user){
		userDao.save(user);
	}
 
	public void update(User user){
		userDao.update(user);
	}
 
	public void delete(User user){
		userDao.delete(user);
	}
 
	public User findByUsername(String username){
		return userDao.findByUsername(username);
	}
}
